#ifndef _BSP_LCD_H_
#define _BSP_LCD_H_

#define AREA_WARNING 35
#define AREA_CAMERA 34
#define AREA_BRACKETS_LEFT 51
#define AREA_BRACKETS_RIGHT 43
#define AREA_CAR_RIGHT 60
#define AREA_CAR_LEFT 206
#define AREA_CAR_BELOW 138
#define AREA_MPH 32
#define AREA_KMH 33
#define AREA_KM 84
#define AREA_YDS 85
#define AREA_PHONE 204
#define AREA_TIRED 205
#define AREA_GAS_ADD 212
#define AREA_GAS_PER 195
#define AREA_WATER_SIGN 201
#define AREA_WATER_C 173
#define AREA_WATER_F 172
#define SPEED_ONE 42
#define SPEED_LIMIT_ONE 52
#define GAS_ONE 213

void bsp_lcd_init(void);
void bsp_lcd_refresh(void);
void bsp_lcd_allon(void);
void bsp_lcd_alloff(void);
void bsp_lcd_poweron(uint8_t on);
void bsp_display_segment(uint8_t area_num, uint8_t on);
void bsp_display_speed(uint8_t speed, uint8_t on);
void bsp_display_speed_limit(uint8_t speed, uint8_t on);
void bsp_display_distance(uint16_t distance, uint8_t on);
void bsp_display_gas(uint8_t gas, uint8_t on);
void bsp_display_water(int16_t temp, uint8_t on);
void bsp_display_road(uint8_t speed, uint8_t num, uint8_t on);
void bsp_display_dir(uint8_t dir, uint8_t on);
#endif